package learn2;

public class cat extends  animal{
    int weight;
    public cat(){
        super();
    }
    public cat(int age,String name,int weight){
        super(age,name);
        this.weight=weight;
    }
    public void eat(){
        System.out.println("吃吃吃");
    }
    public void sleep(){
        System.out.println("睡睡睡");
    }
    public void run(){
        System.out.println("跑跑跑");
    }
}
